package com.trans;

import com.trans.anno.TransTemplate;
import com.trans.auxiliary.TranslatorAbleHelper;
import com.trans.core.TranslateUtils;

/**
 * @Author xwduo
 * @Date 2023-08-29 14:48
 */
public class Translator extends TranslateUtils {

    public static Object doTranslate(Object data, Class defaultClass) {
        return doTranslate(data,null,defaultClass);
    }

    public static Object doTranslate(Object data, TransTemplate modelJson) {
        return doTranslate(data,modelJson,null);
    }

    public static Object doTranslate(Object data) {
        return doTranslate(data,null,null);
    }

}
